<div class="nav-tabs-custom">
	<ul class="nav nav-tabs">
		<li class="active"><a href="#fa-icons">列表</a></li>
		<li class=""><a href="{:Url('add')}">添加推荐位</a></li>
	</ul>
	
	<table class="table table-hover table-bordered" id="menus-table">
		<thead>
			<tr>
				<th width="50">ID</th>
				<th>名称</th>
                <th width="100">状态</th>
				<th width="140">添加时间</th>
				<th width="100">操作</th>
			</tr>
		</thead>
		<tbody>
			{volist name="list" id="vo"}
			<tr>
				<td>{$vo.id}</td>
				<td>{$vo.name}</td>
				<td>{$status_arr[$vo['status']]}</td>
				<td>{$vo.create_time}</td>
				<td>
					<div class="visible-md visible-lg hidden-sm hidden-xs">
                        <a href="{:Url('newslist',array('posid'=>$vo['id']))}" class="btn btn-xs btn-info btn-flat" data-toggle="tooltip" data-placement="top" title="推荐位的文章列表"><i class="fa fa-list"></i></a>
                        <a href="{:Url('edit',array('id'=>$vo['id']))}" class="btn btn-xs btn-primary btn-flat" data-toggle="tooltip" data-placement="top" title="编辑推荐位"><i class="fa fa-edit"></i></a>
                        <a href="{:Url('delete',array('id'=>$vo['id']))}" class="btn btn-xs btn-danger btn-flat js-ajax-del" data-hint-msg="删除推荐位同时会删除对应的文章内容，确认删除？" data-toggle="tooltip" data-placement="top" title="删除推荐位"><i class="fa fa-trash-o"></i></a>
					</div>
				</td>
			</tr>
			{/volist}
		</tbody>
	</table>
	{$list->render()}

</div>